package java8_26.chongwu;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetTEst6 {
    public static void main(String[] args) {
        Dog d=new Dog("小五花","公",59,60,"哈士奇");
        d.print();
        Dog d3=new Dog("大黄","公",59,60,"田园犬");
        d3.print();
        System.out.println(d.equals(d3));//逻辑上是否相等
        System.out.println(">>>>>>>>>>>企鹅和狗比较>>>>>>>>>>>>>>");
        Penguin p3=new Penguin("小五花","公",99,99);
        System.out.println(d.equals(p3));
        final int i=100;
        System.out.println(i);


    }
}
